package com.pur.zsms.ordercustommanage.service;

import java.math.BigDecimal;

import com.pur.zsms.common.exception.GenericException;
import com.pur.zsms.common.support.PageController;
import com.pur.zsms.common.support.PaginationSupport;
import com.pur.zsms.ordercustommanage.po.OrderSupplierPo;
import com.pur.zsms.ordercustommanage.vo.OrderSupplierVo;

public interface ICustMaterOrderService {
	public PaginationSupport listSupplierOrder(PageController pageController, OrderSupplierVo orderSupplierVo) throws GenericException;

	public PaginationSupport listCustOrder(PageController pageController, OrderSupplierVo orderSupplierVo) throws GenericException;

	public PaginationSupport listCustOrderAllForpurchase(PageController pageController, OrderSupplierVo orderSupplierVo) throws GenericException;

	public OrderSupplierPo getOrderSup(String ordId, String ordCustId, String ordSupId) throws GenericException;

	public void sendmater(OrderSupplierPo orderSupplierPo) throws GenericException;

	public void deleteOrderSupperMater(String ordId, String ordMaterId, String ordSupId) throws GenericException;

	public void updateOrderSupperMater(String ordId, String ordMaterId, String ordSupId, String userId) throws GenericException;

	// 判断审核状态

	public boolean checkPassOrderValueForPurchase(long ordId, long supId) throws GenericException;

	// 单位转换
	public void unitMaterChange(int ordId, int materId, int auxiliaryMaterId, int supId, int ordCustId, BigDecimal ordMaterWeightReal, int materLevel)
			throws GenericException;

	public void unitMaterChangeBatch(int ordId, int supId) throws GenericException;

}
